import React from 'react';
import { Card, Typography } from 'antd';

const { Text, Title } = Typography;

const PromptCard = ({ title, content, date }) => {
  return (
    <Card
      title={title}
      bordered={false}
      style={{ height: '100%' }}
      extra={<Text type="secondary">{date}</Text>}
    >
      <Text>{content}</Text>
    </Card>
  );
};

export default PromptCard;
